package cn.iocoder.yudao.module.infra.controller.admin.face.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 人脸注册 Request VO
 *
 * @author 芋道源码
 */
@Schema(description = "管理后台 - 人脸注册 Request VO")
@Data
public class FaceRegisterReqVO {

    @Schema(description = "用户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @NotNull(message = "用户ID不能为空")
    private Long userId;

    @Schema(description = "人脸图片Base64", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "人脸图片不能为空")
    private String imageBase64;

    @Schema(description = "人脸图片URL", example = "https://example.com/face.jpg")
    private String imageUrl;

}